<?php
namespace app\index\controller;
use app\index\model\User;
use think\Controller;
class Text extends Controller{
	public function Reg(){
		return $this->fetch();
	}
	public function index(){
		$user=new User($_POST);
		$user->reg_ip=request()->ip();
		$user->save();
	}
}

?>
